package ar.com.binarit.services

class PersonService {
	
	def crearNuevoUsuario(person){
		if (!person.save(flush: true, failOnError: true)) {
			person.errors.each { log.error it }
			person.discard()
			return false
		}
		return true
	}
    
}